home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Tool Chest / Dev.CD Feb 97 TC.toast / Sample Code / Interapplication Communication / MenuScripter 4.0 / Sources / MSAESave.h < prev    next >
Encoding:
Text File  |  1996-07-09  |  595 b   |  26 lines  |  [TEXT/CWIE]

  1. // MSAESave.h
  2. //
  3. // Original version by Jon Lansdell and Nigel Humphreys.
  4. // 4.0 and 3.1 updates by Greg Sutton.
  5. // ©Apple Computer Inc 1996, all rights reserved.
  6.  
  7. #ifndef __MSAESAVE__
  8. #define __MSAESAVE__
  9.  
  10. #include <AppleEvents.h>
  11. #include <AEObjects.h>
  12. #include <AERegistry.h>
  13.  
  14. #include "MSToken.h"
  15.  
  16. pascal OSErr    DoSaveWindow(const AppleEvent *theAppleEvent, AppleEvent *reply, long refcon);
  17.  
  18. OSErr            SaveDocumentToken(WindowToken* theToken, FSSpec* destFSSpec);
  19. OSErr            SaveDocumentDesc(AEDesc* windowDesc, FSSpec* destFSSpec);
  20. OSErr            SaveDesc(AEDesc* aDesc, FSSpec* destFSSpec);
  21.  
  22. #endif
  23.  
  24.  
  25.  
  26.